import Base from "./base.js"
class Index extends Base{
	constructor() {
	    super();
	};
	//不需要验证的
	getPublicMember(data,url,act,callBack) {
		var that = this;
		var params = {
			url: url,  
			method: act,
			data: data,
			sCallBack: function(res) {
				callBack && callBack(res);
			}
		};
		that.requsetGet(params);
	};
	//需要验证的
	getPublicUserMember(data,url,act,callBack) {
		var that = this;
		var params = {
			url: url,  
			method: act,
			data: data,
			sCallBack: function(res) {
				callBack && callBack(res);
			}
		};
		that.requestUser(params);
	};
}
export default Index;